import { http, jumpExport } from '@/utils/http/axios';

// 获取物品分类列表
export function List(params) {
  return http.request({
    url: '/hgexample/epCategory/list',
    method: 'get',
    params,
  });
}

// 删除/批量删除物品分类
export function Delete(params) {
  return http.request({
    url: '/hgexample/epCategory/delete',
    method: 'POST',
    params,
  });
}

// 添加/编辑物品分类
export function Edit(params) {
  return http.request({
    url: '/hgexample/epCategory/edit',
    method: 'POST',
    params,
  });
}

// 获取物品分类指定详情
export function View(params) {
  return http.request({
    url: '/hgexample/epCategory/view',
    method: 'GET',
    params,
  });
}